package com.wxy.demo;

import javax.servlet.*;
import java.io.IOException;

/**
 * @author wangxiaoyuan
 * 2020/8/27 10:11
 **/
public class HelloServlet implements Servlet {
    public void init(ServletConfig servletConfig) throws ServletException {
        System.out.println("init...");
    }

    public ServletConfig getServletConfig() {
        return null;
    }

    public void service(ServletRequest servletRequest, ServletResponse servletResponse) throws ServletException, IOException {
        System.out.println("service...");
    }

    public String getServletInfo() {
        return null;
    }

    public void destroy() {
        System.out.println("destroy...");
    }
}
